package com.cy.dda.service.statistics;

import java.util.List;

import com.cy.dda.model.query.statistics.StatisticsCasesCountQuery;
import com.cy.dda.model.query.statistics.StatisticsCollectionRecordCountQuery;
import com.cy.dda.model.query.statistics.StatisticsCollectionRecordQuery;
import com.cy.dda.model.query.statistics.StatisticsRepayRecordCountQuery;
import com.cy.dda.model.query.statistics.StatisticsRepayRecordQuery;
import com.cy.dda.model.vo.statistics.StatisticsCasesCountVO;
import com.cy.dda.model.vo.statistics.StatisticsCollectionRecordCountVO;
import com.cy.dda.model.vo.statistics.StatisticsCollectionRecordVO;
import com.cy.dda.model.vo.statistics.StatisticsCustomerRiskCountVO;
import com.cy.dda.model.vo.statistics.StatisticsRepayRecordCountVO;
import com.cy.dda.model.vo.statistics.StatisticsRepayRecordVO;

/**
 * 数据统计
 *
 * @author: tanyilin
 * @create: 2018年11月5日 上午10:30:57
 */
public interface DataStatisticsService {

	/**
	 * 查询本日、本周、本月、以及全部的回款数量统计
	 * 
	 * @return
	 */
	StatisticsRepayRecordCountVO selectStatisticsRepayRecordCountVO(StatisticsRepayRecordCountQuery query);
	
	/**
	 * 回款数据统计柱状图
	 * 
	 * @return
	 */
	List<StatisticsRepayRecordVO> selectStatisticsRepayRecordVO(StatisticsRepayRecordQuery query);
	
	/**
	 * 查询本日、本周、本月、的催收记录数量统计
	 * 
	 * @return
	 */
	StatisticsCollectionRecordCountVO selectStatisticsCollectionRecordCountVO(StatisticsCollectionRecordCountQuery query);
	
	/**
	 * 查询近30天催收记录统计柱状图
	 * 
	 * @return
	 */
	List<StatisticsCollectionRecordVO> selectStatisticsCollectionRecordVO(StatisticsCollectionRecordQuery query);
	
	/**
	 * 委案数据统计数量
	 * 
	 * @return
	 */
	StatisticsCasesCountVO selectStatisticsCasesCountVO(StatisticsCasesCountQuery query);
	
	/**
	 * 客户数量按风险级别统计
	 * 
	 * @return
	 */
	List<StatisticsCustomerRiskCountVO> selectStatisticsCustomerRiskCountVO();
	
	/**
	 * 按照逾期性质统计客户数量
	 * 
	 * @return
	 */
	List<StatisticsCustomerRiskCountVO> selectStatisticsCustomerRiskCount();
}
